package com.wmh.baseservice.system.mapper;

import com.wmh.baseservice.system.entity.GoodsFlowAnalysis;
import com.wmh.baseservice.common.mybatisplus.methods.CommonMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author wmh generator
 * @since 2022-05-27
 */
public interface GoodsFlowAnalysisMapper extends CommonMapper<GoodsFlowAnalysis> {

    /**
     * 根据日期获取数据
     */
    List<GoodsFlowAnalysis> getDataByDate(@Param("map") Map<String, Object> map);

    List<GoodsFlowAnalysis> getSource(@Param("id") Long id, @Param("source") String source);
}
